package com.aixingfu.sports.Model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.09.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容: 续费
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class RenewModel extends StateModel{

    /**
     * code : 1
     * data : {"card_category_info":[{"active_time":"1","age":"-1","another_name":"","attributes":"1","bring":"3","card_name":"GC36","card_tags":"30","card_type":"4","category_type_id":"1","company_id":"0","create_at":"1554864244","create_id":"3321","deal_id":"33","delete_at":"0","duration":{"day":365},"id":"1003","is_app_show":"2","is_migrate":"0","leave_least_Days":"0","leave_long_limit":[["30","3"]],"leave_total_days":"0","limit_times":"-1","max_price":"50001.00","min_price":"35999.00","missed_times":"-1","ordinary_renewal":"3680.00","payment":"1","payment_months":"0","pic":"","relate":"1","renew_price":"3680.00","renew_unit":"1","sales_mode":"1","sex":"-1","single":"4","status":"1","student_leave_limit":"[[0, 1], [0, 1]]","total_circulation":"-1","total_store_times":"-1","transfer_number":"1","transfer_price":"2000.00","validity_renewal":[{"day":"1","price":"3680","type":"y"}],"venue_id":"59"}],"member_info":{"artive_day":"365","birth_date":"2019-03-15","last_date":"2030-01-09","mobile":"18866668088","note":"今天上午，十三届全国人大二次会议","username":"323232"}}
     * message : 获取普通续费数据成功
     * status : success
     */

    private DataBean data;




    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }



    public static class DataBean {
        /**
         * card_category_info : [{"active_time":"1","age":"-1","another_name":"","attributes":"1","bring":"3","card_name":"GC36","card_tags":"30","card_type":"4","category_type_id":"1","company_id":"0","create_at":"1554864244","create_id":"3321","deal_id":"33","delete_at":"0","duration":{"day":365},"id":"1003","is_app_show":"2","is_migrate":"0","leave_least_Days":"0","leave_long_limit":[["30","3"]],"leave_total_days":"0","limit_times":"-1","max_price":"50001.00","min_price":"35999.00","missed_times":"-1","ordinary_renewal":"3680.00","payment":"1","payment_months":"0","pic":"","relate":"1","renew_price":"3680.00","renew_unit":"1","sales_mode":"1","sex":"-1","single":"4","status":"1","student_leave_limit":"[[0, 1], [0, 1]]","total_circulation":"-1","total_store_times":"-1","transfer_number":"1","transfer_price":"2000.00","validity_renewal":[{"day":"1","price":"3680","type":"y"}],"venue_id":"59"}]
         * member_info : {"artive_day":"365","birth_date":"2019-03-15","last_date":"2030-01-09","mobile":"18866668088","note":"今天上午，十三届全国人大二次会议","username":"323232"}
         */

        private MemberInfoBean member_info;
        private List<CardCategoryInfoBean> card_category_info;

        public MemberInfoBean getMember_info() {
            return member_info;
        }

        public void setMember_info(MemberInfoBean member_info) {
            this.member_info = member_info;
        }

        public List<CardCategoryInfoBean> getCard_category_info() {
            return card_category_info;
        }

        public void setCard_category_info(List<CardCategoryInfoBean> card_category_info) {
            this.card_category_info = card_category_info;
        }

        public static class MemberInfoBean {
            /**
             * artive_day : 365
             * birth_date : 2019-03-15
             * last_date : 2030-01-09
             * mobile : 18866668088
             * note : 今天上午，十三届全国人大二次会议
             * username : 323232
             */

            private String artive_day;
            private String birth_date;
            private String last_date;
            private String mobile;
            private String note;
            private String username;
            private String avatar_url;

            public String getAvatar_url() {
                return avatar_url == null ? "" : avatar_url;
            }

            public void setAvatar_url(String avatar_url) {
                this.avatar_url = avatar_url;
            }

            public String getArtive_day() {
                return artive_day;
            }

            public void setArtive_day(String artive_day) {
                this.artive_day = artive_day;
            }

            public String getBirth_date() {
                return birth_date;
            }

            public void setBirth_date(String birth_date) {
                this.birth_date = birth_date;
            }

            public String getLast_date() {
                return last_date;
            }

            public void setLast_date(String last_date) {
                this.last_date = last_date;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }
        }

        public static class CardCategoryInfoBean {
            /**
             * active_time : 1
             * age : -1
             * another_name :
             * attributes : 1
             * bring : 3
             * card_name : GC36
             * card_tags : 30
             * card_type : 4
             * category_type_id : 1
             * company_id : 0
             * create_at : 1554864244
             * create_id : 3321
             * deal_id : 33
             * delete_at : 0
             * duration : {"day":365}
             * id : 1003
             * is_app_show : 2
             * is_migrate : 0
             * leave_least_Days : 0
             * leave_long_limit : [["30","3"]]
             * leave_total_days : 0
             * limit_times : -1
             * max_price : 50001.00
             * min_price : 35999.00
             * missed_times : -1
             * ordinary_renewal : 3680.00
             * payment : 1
             * payment_months : 0
             * pic :
             * relate : 1
             * renew_price : 3680.00
             * renew_unit : 1
             * sales_mode : 1
             * sex : -1
             * single : 4
             * status : 1
             * student_leave_limit : [[0, 1], [0, 1]]
             * total_circulation : -1
             * total_store_times : -1
             * transfer_number : 1
             * transfer_price : 2000.00
             * validity_renewal : [{"day":"1","price":"3680","type":"y"}]
             * venue_id : 59
             */

            private String active_time;
            private String age;
            private String another_name;
            private String attributes;
            private String bring;
            private String card_name;
            private String card_tags;
            private String card_type;
            private String category_type_id;
            private String company_id;
            private String create_at;
            private String create_id;
            private String deal_id;
            private String delete_at;
            private DurationBean duration;
            private String id;
            private String is_app_show;
            private String is_migrate;
            private String leave_least_Days;
            private String leave_total_days;
            private String limit_times;
            private String max_price;
            private String min_price;
            private String missed_times;
            private String ordinary_renewal;
            private String payment;
            private String payment_months;
            private String pic;
            private String relate;
            private String renew_price;
            private String renew_unit;
            private String sales_mode;
            private String sex;
            private String single;
            private String status;
            private String student_leave_limit;
            private String total_circulation;
            private String total_store_times;
            private String transfer_number;
            private String transfer_price;
            private String venue_id;
            private List<List<String>> leave_long_limit;
            private List<ValidityRenewalBean> validity_renewal;

            public String getActive_time() {
                return active_time == null ? "" : active_time;
            }

            public void setActive_time(String active_time) {
                this.active_time = active_time;
            }

            public String getAge() {
                return age == null ? "" : age;
            }

            public void setAge(String age) {
                this.age = age;
            }

            public String getAnother_name() {
                return another_name == null ? "" : another_name;
            }

            public void setAnother_name(String another_name) {
                this.another_name = another_name;
            }

            public String getAttributes() {
                return attributes == null ? "" : attributes;
            }

            public void setAttributes(String attributes) {
                this.attributes = attributes;
            }

            public String getBring() {
                return bring == null ? "" : bring;
            }

            public void setBring(String bring) {
                this.bring = bring;
            }

            public String getCard_name() {
                return card_name == null ? "" : card_name;
            }

            public void setCard_name(String card_name) {
                this.card_name = card_name;
            }

            public String getCard_tags() {
                return card_tags == null ? "" : card_tags;
            }

            public void setCard_tags(String card_tags) {
                this.card_tags = card_tags;
            }

            public String getCard_type() {
                return card_type == null ? "" : card_type;
            }

            public void setCard_type(String card_type) {
                this.card_type = card_type;
            }

            public String getCategory_type_id() {
                return category_type_id == null ? "" : category_type_id;
            }

            public void setCategory_type_id(String category_type_id) {
                this.category_type_id = category_type_id;
            }

            public String getCompany_id() {
                return company_id == null ? "" : company_id;
            }

            public void setCompany_id(String company_id) {
                this.company_id = company_id;
            }

            public String getCreate_at() {
                return create_at == null ? "" : create_at;
            }

            public void setCreate_at(String create_at) {
                this.create_at = create_at;
            }

            public String getCreate_id() {
                return create_id == null ? "" : create_id;
            }

            public void setCreate_id(String create_id) {
                this.create_id = create_id;
            }

            public String getDeal_id() {
                return deal_id == null ? "" : deal_id;
            }

            public void setDeal_id(String deal_id) {
                this.deal_id = deal_id;
            }

            public String getDelete_at() {
                return delete_at == null ? "" : delete_at;
            }

            public void setDelete_at(String delete_at) {
                this.delete_at = delete_at;
            }

            public DurationBean getDuration() {
                return duration;
            }

            public void setDuration(DurationBean duration) {
                this.duration = duration;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIs_app_show() {
                return is_app_show == null ? "" : is_app_show;
            }

            public void setIs_app_show(String is_app_show) {
                this.is_app_show = is_app_show;
            }

            public String getIs_migrate() {
                return is_migrate == null ? "" : is_migrate;
            }

            public void setIs_migrate(String is_migrate) {
                this.is_migrate = is_migrate;
            }

            public String getLeave_least_Days() {
                return leave_least_Days == null ? "" : leave_least_Days;
            }

            public void setLeave_least_Days(String leave_least_Days) {
                this.leave_least_Days = leave_least_Days;
            }

            public String getLeave_total_days() {
                return leave_total_days == null ? "" : leave_total_days;
            }

            public void setLeave_total_days(String leave_total_days) {
                this.leave_total_days = leave_total_days;
            }

            public String getLimit_times() {
                return limit_times == null ? "" : limit_times;
            }

            public void setLimit_times(String limit_times) {
                this.limit_times = limit_times;
            }

            public String getMax_price() {
                return max_price == null ? "" : max_price;
            }

            public void setMax_price(String max_price) {
                this.max_price = max_price;
            }

            public String getMin_price() {
                return min_price == null ? "" : min_price;
            }

            public void setMin_price(String min_price) {
                this.min_price = min_price;
            }

            public String getMissed_times() {
                return missed_times == null ? "" : missed_times;
            }

            public void setMissed_times(String missed_times) {
                this.missed_times = missed_times;
            }

            public String getOrdinary_renewal() {
                return ordinary_renewal == null ? "" : ordinary_renewal;
            }

            public void setOrdinary_renewal(String ordinary_renewal) {
                this.ordinary_renewal = ordinary_renewal;
            }

            public String getPayment() {
                return payment == null ? "" : payment;
            }

            public void setPayment(String payment) {
                this.payment = payment;
            }

            public String getPayment_months() {
                return payment_months == null ? "" : payment_months;
            }

            public void setPayment_months(String payment_months) {
                this.payment_months = payment_months;
            }

            public String getPic() {
                return pic == null ? "" : pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getRelate() {
                return relate == null ? "" : relate;
            }

            public void setRelate(String relate) {
                this.relate = relate;
            }

            public String getRenew_price() {
                return renew_price == null ? "" : renew_price;
            }

            public void setRenew_price(String renew_price) {
                this.renew_price = renew_price;
            }

            public String getRenew_unit() {
                return renew_unit == null ? "" : renew_unit;
            }

            public void setRenew_unit(String renew_unit) {
                this.renew_unit = renew_unit;
            }

            public String getSales_mode() {
                return sales_mode == null ? "" : sales_mode;
            }

            public void setSales_mode(String sales_mode) {
                this.sales_mode = sales_mode;
            }

            public String getSex() {
                return sex == null ? "" : sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getSingle() {
                return single == null ? "" : single;
            }

            public void setSingle(String single) {
                this.single = single;
            }

            public String getStatus() {
                return status == null ? "" : status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStudent_leave_limit() {
                return student_leave_limit == null ? "" : student_leave_limit;
            }

            public void setStudent_leave_limit(String student_leave_limit) {
                this.student_leave_limit = student_leave_limit;
            }

            public String getTotal_circulation() {
                return total_circulation == null ? "" : total_circulation;
            }

            public void setTotal_circulation(String total_circulation) {
                this.total_circulation = total_circulation;
            }

            public String getTotal_store_times() {
                return total_store_times == null ? "" : total_store_times;
            }

            public void setTotal_store_times(String total_store_times) {
                this.total_store_times = total_store_times;
            }

            public String getTransfer_number() {
                return transfer_number == null ? "" : transfer_number;
            }

            public void setTransfer_number(String transfer_number) {
                this.transfer_number = transfer_number;
            }

            public String getTransfer_price() {
                return transfer_price == null ? "" : transfer_price;
            }

            public void setTransfer_price(String transfer_price) {
                this.transfer_price = transfer_price;
            }

            public String getVenue_id() {
                return venue_id == null ? "" : venue_id;
            }

            public void setVenue_id(String venue_id) {
                this.venue_id = venue_id;
            }

            public List<List<String>> getLeave_long_limit() {
                if (leave_long_limit == null) {
                    return new ArrayList<>();
                }
                return leave_long_limit;
            }

            public void setLeave_long_limit(List<List<String>> leave_long_limit) {
                this.leave_long_limit = leave_long_limit;
            }

            public List<ValidityRenewalBean> getValidity_renewal() {
                if (validity_renewal == null) {
                    return new ArrayList<>();
                }
                return validity_renewal;
            }

            public void setValidity_renewal(List<ValidityRenewalBean> validity_renewal) {
                this.validity_renewal = validity_renewal;
            }

            public static class DurationBean {
                /**
                 * day : 365
                 */

                private int day;

                public int getDay() {
                    return day;
                }

                public void setDay(int day) {
                    this.day = day;
                }
            }

            public static class ValidityRenewalBean {
                /**
                 * day : 1
                 * price : 3680
                 * type : y
                 */

                private String day;
                private String price;
                private String type;

                public String getDay() {
                    return day == null ? "" : day;
                }

                public void setDay(String day) {
                    this.day = day;
                }

                public String getPrice() {
                    return price == null ? "" : price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getType() {
                    return type == null ? "" : type;
                }

                public void setType(String type) {
                    this.type = type;
                }
            }
        }
    }
}
